package org.happen.android.base;

import org.happen.android.module.TitleModule;
import org.liushui.mycommons.android.annotation.helper.InjectHelper;

import android.os.Bundle;
import android.view.View;

import org.happen.android.R;

public class XxxFragment extends BaseV4Fragment
{

	TitleModule titleModule;

	protected int getLayoutId()
	{
		return R.layout.activity_aaa;
	}

	protected void init(Bundle savedInstanceState)
	{
		InjectHelper.init(this, contentView);
		titleModule = new TitleModule(getActivity(), contentView);
		titleModule.setTitle("");

		titleModule.setBackClickListener(new View.OnClickListener() {
			public void onClick(View v)
			{
				getActivity().finish();
			}
		});
	}
}